package com.article_protocol.pojo.po;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


import java.time.LocalDateTime;
@Data
@Document(indexName = "article_index")
public class ArticleSearchPO {

    private long uid;
    @Id
    private long articleId;
    private String title;
    private LocalDateTime createTime;
    private String location;
    private String synopsis;

}
